Firefox stores your personal data, such as bookmarks, passwords, and extensions, in a profile folder on your computer, in a location separate from the Firefox program. This article explains how to back up your profile, restore it, or move your profile to
To make a copy of all your saved passwords, bookmarks, and add-ons, back up your Mozilla Firefox profile to a safe location either on your internal or your external storage. Later, you can restore this backup to bring all your items back into the browser.